package com.dwj.auto.comment.model.req;

import com.dwj.auto.comment.common.annotation.Condition;
import com.dwj.auto.comment.common.annotation.Order;
import com.dwj.auto.comment.config.mybatis.plus.QueryCriteria;
import com.dwj.auto.comment.dao.entity.Exam;
import com.dwj.auto.comment.model.vo.ExamSearchVo;
import lombok.Data;

import java.util.Date;

/**
 * @author: dangweijian
 * @description: 考试搜索分页
 * @create: 2020-01-21 13:01
 **/
@Data
public class ExamSearchCriteria extends QueryCriteria<Exam, ExamSearchVo> {

    /**
     * 测验考试ID
     */
    @Condition
    private String id;

    /**
     * 班级ID
     */
    @Condition
    private String classId;

    /**
     * 测验类型 （1普通考试，2单元考试，3期中考试，4期末考试）
     */
    @Condition
    private Integer examType;

    /**
     * 课程ID
     */
    @Condition
    private String courseId;

    /**
     * 创建时间
     */
    @Order
    private Date createDate;
}
